package edu.yourl.web.components;

import org.apache.wicket.markup.html.form.TextField;
import org.apache.wicket.model.PropertyModel;

public class PropertyTextField<T> extends TextField<T> {

	private static final long serialVersionUID = 1L;

	
	public PropertyTextField(String id,Object owner) {
		this(id,owner,id);
	}
	
	public PropertyTextField(String id,Object owner, String propertyExpression) {
		super(id,new PropertyModel<T>(owner,propertyExpression));
	}
}
